package com.xingchen.netty.auth;
import com.xingchen.netty.domain.AdminInfo;

/**
 * post 推送消息接口授权验证
 */
public class AdminAuth {
    public AdminInfo getAdminInfo(String token){
        if(token.equals("token")){
            AdminInfo adminInfo =new AdminInfo();
            adminInfo.setUid("2");
            return  adminInfo;
        }
        return null;
    }
}
